<?php /* Smarty version 2.6.18, created on 2016-12-16 15:20:06
         compiled from run/run.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-user-plus" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">快捷运行列表</p>
                    <a href="index.php?a=run.add" class="btn btn-success " style="float:right; color:#fff; margin-left:8px;">添加快捷运行</a>
                    <a href="index.php?a=run.reg" class="btn btn-success " style="float:right; color:#fff;">下载注册表文件(保存为.reg)</a>
                </div>
                   <div class="box-body">
                        <form name="myform" action="index.php?a=run.order" method="post">
                        <table class="table table-bordered"  id="mytable">
                                <thead>
                                    <tr>
                                        <td>顺序</td>
                                        <td>id</td>
                                        <td>图标</td>
                                        <td>名称</td>
                                        <td>关键词</td>
                                        <td>本地路径</td>
										<td>下载地址</td>
										<td>添加时间</td>
										<td>操作</td>
                                    </tr>	
                                </thead>
                                <tbody>
								<?php $_from = $this->_tpl_vars['run_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                    <tr>
                                        <td><input name="run_order_<?php echo $this->_tpl_vars['value']['run_id']; ?>
" type="text" value="<?php echo $this->_tpl_vars['value']['run_order']; ?>
" size="2"></td>
                                        <td><?php echo $this->_tpl_vars['value']['run_id']; ?>
</td>
                                        <td><img src="<?php echo $this->_tpl_vars['value']['run_pic']; ?>
" width="40" height="40"></td>
                                        <td><?php echo $this->_tpl_vars['value']['run_name']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['value']['run_key']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['value']['run_path']; ?>
</td>
                                        <td><a href="<?php echo $this->_tpl_vars['value']['run_url']; ?>
" target="_blank">下载</a></td>
                                        <td><?php echo $this->_tpl_vars['value']['create_time']; ?>
</td>
										<td>
										<a href="index.php?a=run.update&run_id=<?php echo $this->_tpl_vars['value']['run_id']; ?>
" class="btn btn-warning btn-sm" title="修改"><i class="fa fa-edit (alias)"></i></a>
										<a href="index.php?a=run.del&run_id=<?php echo $this->_tpl_vars['value']['run_id']; ?>
" onclick="if(confirm('警告！确认删除信息?')==false)return false;" class="btn btn-danger btn-sm" title="删除"><i class="fa fa-trash"></i></a>
										</td>
                                    </tr>	
								<?php endforeach; endif; unset($_from); ?>
                                </tbody>	
                        </table>
								<br/>
                                <input type="submit" name="order_submit" value="修改排序" class="btn btn-default">
                                </form>
								<?php echo $this->_tpl_vars['page']; ?>

				   </div><!--box-body -->
           </div><!--box box-default box-solid-->
        </section>    
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
